import { TConfig } from "./TConfig";


export interface DialCfg extends IConfig {id:number;sector:number;multNum:number;weight:number;}



export class DialCfgReader extends TConfig<DialCfg> {
    protected _name : string = "Dial";

    public constructor() {
        super();
        this.initByMap({
    "0": {
        "id": 0,
        "sector": 337.5,
        "multNum": 9,
        "weight": 0.125
    },
    "1": {
        "id": 1,
        "sector": 22.5,
        "multNum": 5,
        "weight": 0.125
    },
    "2": {
        "id": 2,
        "sector": 67.5,
        "multNum": 10,
        "weight": 0.125
    },
    "3": {
        "id": 3,
        "sector": 112.5,
        "multNum": 8,
        "weight": 0.125
    },
    "4": {
        "id": 4,
        "sector": 157.5,
        "multNum": 11,
        "weight": 0.125
    },
    "5": {
        "id": 5,
        "sector": 202.5,
        "multNum": 7,
        "weight": 0.125
    },
    "6": {
        "id": 6,
        "sector": 247.5,
        "multNum": 12,
        "weight": 0.125
    },
    "7": {
        "id": 7,
        "sector": 292.5,
        "multNum": 6,
        "weight": 0.125
    }
});
    }
}